package http

import "fmt"

type Cache struct {
	handler Http
}

func (client *Cache) Get(url string) {
	client.handler.Get(url)
	fmt.Println("cache hit")
}

func NewCache(handler Http) Http {
	return &Cache{
		handler: handler,
	}
}
